$(function () {
    $(".date_num").append(dateShow());
})
//获取当前的时间
// function dateShow() {
//     var mydate = new Date();
//     var str = "-&nbsp;&nbsp;&nbsp;";
//     str += "<span class='date_span'>"
//     str += "" + mydate.getFullYear() + "年";
//     str += (mydate.getMonth() + 1) + "月";
//     str += "<span class='curspan'>" +mydate.getDate()+ "</span>"
//     str += "</sapn>"
//     str += "<span class='date_r'>日</span>";
//     str += "&nbsp;&nbsp;日签 -";
//     return str;
// }
function dateShow() {
    var mydate = new Date();
    var str = "-&nbsp;&nbsp;&nbsp;";
    str += "" + mydate.getFullYear() + "年";
    str += (mydate.getMonth() + 1) + "月";
    str += "<span class='date_span'>" + mydate.getDate() + "</sapn>" + "<span class='date_r'>日</span>";
    str += "&nbsp;&nbsp;日签 -";
    return str;
}